home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / program / prtrep51.zip / REPSRC.ZIP / REPDEM03.DFM / REPDEM03.txt
Text File  |  1996-06-24  |  6KB  |  241 lines

  1. object dem03form: Tdem03form
  2.   Left = 127
  3.   Top = 238
  4.   Width = 613
  5.   Height = 417
  6.   ActiveControl = Panel1
  7.   Caption = 'dem03form'
  8.   Font.Color = clBlack
  9.   Font.Height = -14
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   PixelsPerInch = 120
  13.   Position = poScreenCenter
  14.   OnCreate = FormCreate
  15.   TextHeight = 16
  16.   object Panel1: TPanel
  17.     Left = 0
  18.     Top = 0
  19.     Width = 605
  20.     Height = 89
  21.     Align = alTop
  22.     TabOrder = 0
  23.     object Label1: TLabel
  24.       Left = 20
  25.       Top = 12
  26.       Width = 370
  27.       Height = 19
  28.       Caption = 'This is a Demo of the TPrintGridReport Component'
  29.       Color = clBtnFace
  30.       Font.Color = clMaroon
  31.       Font.Height = -17
  32.       Font.Name = 'Arial'
  33.       Font.Style = []
  34.       ParentColor = False
  35.       ParentFont = False
  36.     end
  37.     object Label2: TLabel
  38.       Left = 20
  39.       Top = 36
  40.       Width = 260
  41.       Height = 19
  42.       Caption = 'and SubTotals and Calcutated fields'
  43.       Color = clBtnFace
  44.       Font.Color = clMaroon
  45.       Font.Height = -17
  46.       Font.Name = 'Arial'
  47.       Font.Style = []
  48.       ParentColor = False
  49.       ParentFont = False
  50.     end
  51.     object Label3: TLabel
  52.       Left = 20
  53.       Top = 60
  54.       Width = 415
  55.       Height = 19
  56.       Caption = 'Note: The printer is forced to print Landscape Orientation'
  57.       Color = clBtnFace
  58.       Font.Color = clMaroon
  59.       Font.Height = -17
  60.       Font.Name = 'Arial'
  61.       Font.Style = []
  62.       ParentColor = False
  63.       ParentFont = False
  64.     end
  65.     object Preview: TBitBtn
  66.       Left = 420
  67.       Top = 12
  68.       Width = 109
  69.       Height = 29
  70.       Caption = 'Pre&View'
  71.       TabOrder = 0
  72.       OnClick = PreviewClick
  73.     end
  74.     object Exit: TBitBtn
  75.       Left = 440
  76.       Top = 44
  77.       Width = 89
  78.       Height = 33
  79.       Caption = '&Exit'
  80.       ModalResult = 1
  81.       TabOrder = 1
  82.     end
  83.   end
  84.   object Panel2: TPanel
  85.     Left = 0
  86.     Top = 89
  87.     Width = 605
  88.     Height = 301
  89.     Align = alClient
  90.     BevelInner = bvLowered
  91.     BorderWidth = 4
  92.     Caption = 'Panel2'
  93.     TabOrder = 1
  94.     object DBGrid1: TDBGrid
  95.       Left = 6
  96.       Top = 6
  97.       Width = 593
  98.       Height = 289
  99.       Align = alClient
  100.       BorderStyle = bsNone
  101.       DataSource = DataSource1
  102.       Font.Color = clPurple
  103.       Font.Height = -13
  104.       Font.Name = 'Arial'
  105.       Font.Style = []
  106.       ParentFont = False
  107.       TabOrder = 0
  108.       TitleFont.Color = clBlue
  109.       TitleFont.Height = -13
  110.       TitleFont.Name = 'Arial'
  111.       TitleFont.Style = [fsBold]
  112.     end
  113.   end
  114.   object Query1: TQuery
  115.     Active = True
  116.     OnCalcFields = Query1CalcFields
  117.     DatabaseName = 'DBDEMOS'
  118.     SQL.Strings = (
  119.       'Select'
  120.       '  parts."PartNo",'
  121.       '  parts."VendorNo",'
  122.       '  parts."Description",'
  123.       '  parts."OnHand",'
  124.       '  parts."OnOrder",'
  125.       '  parts."Cost",'
  126.       '  parts."ListPrice"'
  127.       'From "parts.db"'
  128.       'As parts'
  129.       'order by'
  130.       'VendorNo')
  131.     Left = 260
  132.     Top = 5
  133.     object Query1PartNo: TFloatField
  134.       DisplayWidth = 7
  135.       FieldName = 'PartNo'
  136.     end
  137.     object Query1VendorNo: TFloatField
  138.       FieldName = 'VendorNo'
  139.       Visible = False
  140.     end
  141.     object Query1Description: TStringField
  142.       DisplayWidth = 23
  143.       FieldName = 'Description'
  144.       Size = 30
  145.     end
  146.     object Query1OnHand: TFloatField
  147.       DisplayWidth = 7
  148.       FieldName = 'OnHand'
  149.     end
  150.     object Query1OnOrder: TFloatField
  151.       DisplayWidth = 7
  152.       FieldName = 'OnOrder'
  153.     end
  154.     object Query1ListPrice: TCurrencyField
  155.       DisplayWidth = 9
  156.       FieldName = 'ListPrice'
  157.       DisplayFormat = '$ #,##0.00'
  158.       Currency = True
  159.     end
  160.     object Query1Cost: TCurrencyField
  161.       DisplayWidth = 6
  162.       FieldName = 'Cost'
  163.       DisplayFormat = '$ #,##0.00'
  164.       Currency = True
  165.     end
  166.     object Query1OnOrderValue: TCurrencyField
  167.       Calculated = True
  168.       DisplayWidth = 10
  169.       FieldName = 'OnOrderValue'
  170.       DisplayFormat = '$ #,##0.00'
  171.       Currency = True
  172.     end
  173.     object Query1OnHandValue: TCurrencyField
  174.       Calculated = True
  175.       DisplayWidth = 12
  176.       FieldName = 'OnHandValue'
  177.       DisplayFormat = '$ #,##0.00'
  178.       Currency = True
  179.     end
  180.   end
  181.   object DataSource1: TDataSource
  182.     DataSet = Query1
  183.     Left = 287
  184.     Top = 5
  185.   end
  186.   object PrintGridReport1: TPrintGridReport
  187.     Brush.Style = bsCross
  188.     ViewButtonVisible = False
  189.     OutputTo = poViewer
  190.     Orientation = Default
  191.     ViewBkColor = 11234567
  192.     Units = poInches
  193.     ViewHeading = 'Reportit Viewer'
  194.     FooterFont.Color = clWindowText
  195.     FooterFont.Height = 12
  196.     FooterFont.Name = 'Arial'
  197.     FooterFont.Style = []
  198.     HeaderFont.Color = clBlack
  199.     HeaderFont.Height = -17
  200.     HeaderFont.Name = 'Arial'
  201.     HeaderFont.Style = []
  202.     ZoomPercentage = 100.000000000000000000
  203.     HeaderTop = 0.500000000000000000
  204.     HeaderStringLeft = 'TPrintGridReport'
  205.     HeaderStringCenter = 'Page Header'
  206.     HeaderStringRight = 'Reportit'
  207.     HeaderEnabled = True
  208.     HeaderOutlined = True
  209.     HeaderFilled = False
  210.     FooterTop = 24.630000000000000000
  211.     FooterString = 'Page Footer'
  212.     FooterEnabled = True
  213.     FooterOutlined = True
  214.     FooterFilled = False
  215.     DisableControls = True
  216.     BorderLeft = 0.250000000000000000
  217.     BorderRight = 0.250000000000000000
  218.     DateTimeStampEnabled = True
  219.     PageNumberEnabled = True
  220.     GridHeadingRow = 1.500000000000000000
  221.     GridHeadingCol = 0.250000000000000000
  222.     GridHeadingEnabled = True
  223.     GridHeadingOutlined = True
  224.     GridHeadingFilled = False
  225.     GridLines = True
  226.     LineSpacing = 1.500000000000000000
  227.     Grid = DBGrid1
  228.     GridMinWidth = True
  229.     GridCentered = True
  230.     GridPrintTotal = True
  231.     PrintSubTotals = True
  232.     FrameStyleLeft = frNone
  233.     FrameStyleTop = frDoubleThickThin
  234.     FrameStyleRight = frNone
  235.     FrameStyleBottom = frSingleThin
  236.     ReportStyle = rsOwn
  237.     Left = 372
  238.     Top = 28
  239.   end
  240. end
  241.